export default {
    database : {
        common : {
            type : 'postgres',
            charset : 'utf8',
            host: '127.0.0.1',
            port : 6543,
            username: 'postgres',
            password: '33435353&&FDFGDFGSDFRDC',
            database: 'charge-common',
            autoLoadEntities: true,
            synchronize: false,
            poolSize : 3,
            //logging : ["query", "error"]
        },

        default : {
            type : 'mysql',
            //charset : 'utf8',
            host: '127.0.0.1',
            port : 4417,
            username: 'charge_bill',
            password: 'charge&bill&2023$$123',
            database: 'charge',
            autoLoadEntities: true,
            synchronize: false,
            poolSize : 3,
            //logging : ["query", "error"]
        }
    },

    mongodb : {
        uri : 'mongodb://charge:charge2023535546fgdgSVDVegbdy4ffhfDBSGFVSVGsd@127.0.0.1:15236/charge'
        //uri: 'mongodb://ztn123:sensor123@8.214.20.183:27018/ztn_sensor_data',
    },


    openapi : {
        white : ['/auth'],
        jwt : {
            expire : 3600,
            login : {
                secret : 'LTAI5tBNbKSkg4rAsqDhvogt',
                scale : 13,
            },
    
            refreshLogin : {
                secret : '5KjRP77kbyYN9OxdFdWEvVYmvwrYQe',
                scale : 355,
            }
        },
    },

    alicloud : {
        uid : '1952692044721026', //账号id 您可登录物联网平台控制台，移动鼠标指针到账号头像，查看账号ID。
        accessKeyId : 'LTAI5tBNbKSkg4rAsqDhvogt',
        accessKeySecret : '5KjRP77kbyYN9OxdFdWEvVYmvwrYQe',
        regionId : 'cn-shanghai', //请替换为您的物联网平台设备所在地域的Region ID。Region ID表达方法，请参见支持的地域。
        consumerGroupId : 'omBz5bn4QU8g0vjOldTT000100',
    },

    alipay : {
        appId : '2021002157684238',
        //应用私钥字
        privateKey : 'MIIEwAIBADANBgkqhkiG9w0BAQEFAASCBKowggSmAgEAAoIBAQCs8x0WA82NiW7ryfOoE8o8imW9g1VKqbR2e9bp/2EcOUKP3/cBG2VuJdEeqvdlrYOKvt/H2lYUosckc25cRKxNEENdyjLK9XS0CNVjb4Kr2t4P6rw0oPZ12k5g5aH/EDEqrTzEZnZtw5+CH2MypgCLLdQF44F73Y+yGX+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PqakH/2J4wMc9bk/aYyGNIbZklu/HhYF+NVgFqjs6l+KSfkVn5HtSauTZpEFrb5NOBuCJ05law65PLh37JIEmxUqkSWIuA6gosEcsIht2veaoOX+bklXcQwJL50QfNEfg+2oGERRN8WX1wH/e96LOmkg+lng8CgYEAn61/wp0OVZbagktcMoWhY3WHG0k6ykx0V2EvAg4eUBR6QHu46lyg7GcKZivDKQGOVIlw+tMK0j3WU/YqeY94Yym+8wnBJFKBLVm+xMOABdjKx8YcG3A4y8hIeG41tBgQAA0WKRztkcvEUw9CoAGTLCwyQrNFpocK+/C59BtLU10=',
        //应用公钥
        appCertContent : 'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArPMdFgPNjYlu68nzqBPKPIplvYNVSqm0dnvW6f9hHDlCj9/3ARtlbiXRHqr3Za2Dir7fx9pWFKLHJHNuXESsTRBDXcoyyvV0tAjVY2+Cq9reD+q8NKD2ddpOYOWh/xAxKq08xGZ2bcOfgh9jMqYAiy3UBeOBe92Pshl/u37yzuNDItgZz4rSLck1TxLX4Y+v2OR1jYMCI7lzki7BtPUcmkqG/KmQrh1afqlCBU6JJa5WxTX32fVvkN5QG68GG0uRfKfDxo5TS3wcGqvB/u6grm6TO4axVdbQMvpF4ZV2B2IEDWuKjf75W4rrMhP3ge17ginjcvun+slhm92DZwV1GQIDAQAB',
    
        //支付宝公钥
        alipayPublicKey : 'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApORFPLD/L4f38RS8fZth5bdII5CBUdd80tkndaTwebXL0zxRYsr8bLjBZdFaUjSnDY7GW8ffGemRa33yRGQdK9P+r+hQpnIhBHzsVchg/tdrvfWvd8vbEv8vjogNmxXzrSsUx07JvB7pQdYOYhdEFbvyqiFYVj+UmKUkpcH6IaUi2QaXBufU5eu432Cs/zEDXOyRPsbU/Q8WJiHnpemj61TYefwN5RH6NZC3sKjcrPzBWDyhzN4qgzMqP1Z3zaxGWEBHExNeC4cbzHPai61Axz95h57Z07N9KF9OmNMfvysPl8V2etwXuL1TFTCNoy+7z8hr3OjKc3EMPXeHnz3OWwIDAQAB'
    },

    wechat : {
        appid : 'wxfdd87f7216cac6e3',
        mchid : '1647130847',
        v3Key : '1cba44f4c8a2369240fde99dd3d5ce99',
        publicKey : '-----BEGIN CERTIFICATE-----\nMIIEKDCCAxCgAwIBAgIUGO3Zbpxs/ePgz+FplVUkSL7WqKowDQYJKoZIhvcNAQEL\nBQAwXjELMAkGA1UEBhMCQ04xEzARBgNVBAoTClRlbnBheS5jb20xHTAbBgNVBAsT\nFFRlbnBheS5jb20gQ0EgQ2VudGVyMRswGQYDVQQDExJUZW5wYXkuY29tIFJvb3Qg\nQ0EwHhcNMjMwNzA0MDYwODQ2WhcNMjgwNzAyMDYwODQ2WjCBgTETMBEGA1UEAwwK\nMTY0NzEzMDg0NzEbMBkGA1UECgwS5b6u5L+h5ZWG5oi357O757ufMS0wKwYDVQQL\nDCTmt7HlnLPluILpvpnljY7ljLrogIHomY7ku5TotLjmmJPnq5kxCzAJBgNVBAYM\nAkNOMREwDwYDVQQHDAhTaGVuWmhlbjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC\nAQoCggEBANwaFZ8E3NGcSz7DKQD+Igx/L+iaD2VeQYaq3SiT/FKyEdqDmpl8mdP4\n7EMHJP3SC3lWNJ+xbNnYMSeMfFS17C9T+7boaDxn1MALQkhjR4jv7rWIZJa6yTCc\nQGb4h6JrLRWzuplM7i2iia9aBjotlg6QpjXYodvbUkyWGfepNh89i6BpWWtGsZ4b\nv6emGZMJoptjFvq6hM5NfDDvPP10gc89FOSK0jVHZ0ZHi0DkEQT3XEy+DL/D+oqv\nPbwGk6OkLLq1/Y+pgZUmwjm0xccTaA/mGxnHULyke+u7ojEucWoZoeQC5JP7OzoB\nk7Q1BBvj9F+Z6ZwtBk6YcCeZ7IByErMCAwEAAaOBuTCBtjAJBgNVHRMEAjAAMAsG\nA1UdDwQEAwID+DCBmwYDVR0fBIG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DLdhCwytFCfDbz0mSkmgnPVD4ifVqHCGpxIP9fv6fD1yBKwybmVizb57aMlX\ny8fyjUmtRbR8v9gZCsNw0YhJ45UUbmCO/v2v1oytWysUl0h/e+pmSVnt5hShP6XJ\nZItMfqehHOBPPGfDyPgKf0SO\n-----END PRIVATE KEY-----\n',

        secret : 'b177c142ab36de75a839c505ae58bb4f'
    },


    platformLoginName : '平台',

    cache : {
        host : 'localhost',
        port : 10258,
        password : 'fegfgsfgyhfdthsdRK*@#^**$^&#^CGDS%^#^$^&RDtopnjsXVBXVdbyopv^&hfh&*$789405CE6cbvXFVAHZBV',
    },

    mqtt : {
        port : 1885,
        broker : {
            id : 'mqtt',
            concurrency : 100,
            queueLimit : 42,
            maxClientsIdLength : 23,
            connectTimeout : 30000,
            heartbeatInterval : 60000,
        },
        
    },
    

    jwt : {
        expire : 3600000,
        login : {
            secret : 'LTAI5tBNbKSkg4rAsqDhvogt',
            scale : 13,
        },

        refreshLogin : {
            secret : '5KjRP77kbyYN9OxdFdWEvVYmvwrYQe',
            scale : 355,
        }
    },

    redisKey : {
        devicePort : 'dev:p:'
    },

    upload : {
        dist : '/usr/share/bacsense-data/www/c.bacsense.com.cn/root/uploads'
    }
}